package ren.steve.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import ren.steve.model.system.bean.SystemDept;
import ren.steve.model.system.vo.SystemDeptQueryVo;
import ren.steve.system.mapper.SystemDeptMapper;
import ren.steve.system.service.SystemDeptService;

import java.util.List;

/**
 * @Author: LiuGuoJia
 * @Description:
 * @Date: Created in 2024/1/18 20:04
 */
@Service
public class SystemDeptServiceImpl extends ServiceImpl<SystemDeptMapper, SystemDept> implements SystemDeptService {
  @Override
  public IPage<SystemDept> select(Page<SystemDept> pagination, @Param("vo") SystemDeptQueryVo vo) {
    return baseMapper.select(pagination, vo);
  }

  @Override
  public IPage<SystemDept> selectRoot(Page<SystemDept> pagination, SystemDeptQueryVo vo) {
    return baseMapper.selectRoot(pagination, vo);
  }

  @Override
  public List<SystemDept> listJoin() {
    return baseMapper.listJoin();
  }

  @Override
  public SystemDept getByIdJoin(String id) {
    return baseMapper.getByIdJoin(id);
  }


}
